<!DOCTYPE html>
<html>
<head>
    <title>Dynamic Properties Example 2</title>
    <script type="text/javascript">
        var name = "Nicholas";
        name.age = 27;
        alert(name.age);    //undefined
    </script>
</head>
<body>

</body>
</html>